package com.frinder.robot.handler;

import com.frinder.base.akka.BaseActor;
import com.frinder.robot.log.MyRobotLoggerWrapper;

/**
 * @ClassName BaseRobotActor
 * @Description 机器人相关 actor 基类
 * @Author frinder
 * @Date 2019/10/19 10:21
 * @Verion 1.0
 */
public abstract class BaseRobotActor extends BaseActor {

    protected final String robotName;

    protected final MyRobotLoggerWrapper log;

    public BaseRobotActor(String robotName) {
        this.robotName = robotName;
        this.log = MyRobotLoggerWrapper.builder().robotName(robotName).logger(blog).build();
    }

}
